﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<%@ Register Assembly="Qzone.OAuth" Namespace="Qzone.OAuth.WebControls" TagPrefix="sl8" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <p>
        Demo2: 使用封装好的asp.net控件登录，比较方便。</p>
    <ol>
        <li>需要配置Web.Config 的AppSetting节点，先设置appid和appkey的值。</li>
        <li>配置httpHandle, path=&quot;*/qzoneoauth.axd&quot;,path的值不能改变。</li>
    </ol>
    <sl8:LoginButton ID="btnLogin" runat="server" OnLogined="btnLogin_Logined"
        ImageUrl="~/Images/logo_style1.png" />
    </form>
    <p>
        &nbsp;</p>
</body>
</html>
